package conceptmaniax.hotelapp.weather;

public class WeatherUtils {
	
	public static String convertTemp(double farenheit) {
	    return Long.toString(Math.round(((double)5/9) * (farenheit - 32))) + (char) 0x00B0;
	}
	
	public static String convertTempWithCelciusSymbol(double farenheit) {
	    return convertTemp(farenheit) + "C";
	}
	
	public static String convertHumidity(double humidity) {
	    return Long.toString(Math.round(humidity * 100)) + "%";
	}
	
	public static String convertWind(double wind) {
	    return Long.toString(Math.round(wind)) + " km/h";
	}
}
